package com.vcredit.creditcat.api;

import java.util.List;

import com.vcredit.creditcat.dto.emallcredit.JdProcessInDto;
import com.vcredit.creditcat.model.AuthJd;
import com.vcredit.creditcat.model.Cust;

public interface IJdProcessManager {
	/**
	 * 京东cookie登陆
	 * @param cust
	 * @param jDProcessInDto
	 * @throws Exception
	 */
	public void login(Cust cust,JdProcessInDto jDProcessInDto) throws Exception;
	
	

	/**
	 * 京东状态采集
	 * @param lastProccessId
	 * @return
	 * @throws Exception
	 */
	public void updateCrawlStatus(AuthJd authJd) throws Exception;
	
	/**
	 * 获取未采集的认证流程,定时任务用
	 * @return
	 */
	public List<AuthJd> crawlJd();
}
